Class: Emvoicer::Client
- Inherits:
-
Object
- Object
- Emvoicer::Client
- Defined in:
- lib/emvoicer/client.rb
Constant Summary collapse
- ATTRIBUTES =
[ :id, :name, :address_1, :address_2, :city, :zip_code, :country, :phone ]
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
Instance Method Summary collapse
-
#initialize(service, attributes) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(service, attributes) ⇒ Client
Returns a new instance of Client.
16 17 18 19 |
# File 'lib/emvoicer/client.rb', line 16 def initialize(service, attributes) @service = service @attributes = attributes end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
14 15 16 |
# File 'lib/emvoicer/client.rb', line 14 def attributes @attributes end |
#service ⇒ Object (readonly)
Returns the value of attribute service.
14 15 16 |
# File 'lib/emvoicer/client.rb', line 14 def service @service end |