Class: Shipeasy::SDK::See::NullChain

Inherits:
Object
  • Object
show all
Defined in:
lib/shipeasy/sdk/see.rb

Overview

A no-op chain returned by the module-level see() when no client exists. Every method returns self so the full grammar — including a trailing .extras after .to — chains without ever raising.

Instance Method Summary collapse

Instance Method Details

#causes_the(_subject) ⇒ Object Also known as: causesThe



343
344
345
# File 'lib/shipeasy/sdk/see.rb', line 343

def causes_the(_subject)
  self
end

#extras(_extras) ⇒ Object



348
349
350
# File 'lib/shipeasy/sdk/see.rb', line 348

def extras(_extras)
  self
end

#to(_outcome, _extras = nil) ⇒ Object



352
353
354
# File 'lib/shipeasy/sdk/see.rb', line 352

def to(_outcome, _extras = nil)
  self
end