Class: Intelipost::FluentInterfaceBase
- Inherits:
-
Object
- Object
- Intelipost::FluentInterfaceBase
- Includes:
- FluentInterface
- Defined in:
- lib/intelipost/fluent_interface.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
Instance Method Summary collapse
-
#initialize(connection) ⇒ FluentInterfaceBase
constructor
A new instance of FluentInterfaceBase.
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
#connection ⇒ Object
Returns the value of attribute connection.
41 42 43 |
# File 'lib/intelipost/fluent_interface.rb', line 41 def connection @connection end |