Class: Cuenote::Api::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/cuenote/api/address.rb

Instance Method Summary collapse

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

#deleteObject

TODO



16
17
18
# File 'lib/cuenote/api/address.rb', line 16

def delete
  run 'deleteAddress'
end

#updateObject

TODO



11
12
13
# File 'lib/cuenote/api/address.rb', line 11

def update
  run 'editAddress'
end