Class: Intelipost::FluentInterfaceBase

Inherits:
Object
  • Object
show all
Includes:
FluentInterface
Defined in:
lib/intelipost/fluent_interface.rb

Direct Known Subclasses

Cep, Quote, ShipmentOrder

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from FluentInterface

#create, #get, included, #method_missing, #update

Constructor Details

#initialize(connection) ⇒ FluentInterfaceBase

Returns a new instance of FluentInterfaceBase.



43
44
45
46
# File 'lib/intelipost/fluent_interface.rb', line 43

def initialize(connection)
  @connection = connection
  @fluent_interfaces = [endpoint]
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Intelipost::FluentInterface

Instance Attribute Details

#connectionObject

Returns the value of attribute connection.



41
42
43
# File 'lib/intelipost/fluent_interface.rb', line 41

def connection
  @connection
end