Class: Cuenote::Api::Address
- Inherits:
-
Object
- Object
- Cuenote::Api::Address
- Defined in:
- lib/cuenote/api/address.rb
Instance Method Summary collapse
-
#delete ⇒ Object
TODO.
-
#initialize(element = nil) ⇒ Address
constructor
A new instance of Address.
-
#update ⇒ Object
TODO.
Constructor Details
#initialize(element = nil) ⇒ Address
Returns a new instance of Address.
5 6 7 8 |
# File 'lib/cuenote/api/address.rb', line 5 def initialize(element=nil) @element = element # @adbook = element.attributes[:adbook] end |
Instance Method Details
#delete ⇒ Object
TODO
16 17 18 |
# File 'lib/cuenote/api/address.rb', line 16 def delete run 'deleteAddress' end |
#update ⇒ Object
TODO
11 12 13 |
# File 'lib/cuenote/api/address.rb', line 11 def update run 'editAddress' end |