Class: Spreedly::Receiver

Inherits:
Model
  • Object
show all
Defined in:
lib/spreedly/receiver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Fields

#field_hash, included, #initialize_fields

Constructor Details

#initialize(xml_doc) ⇒ Receiver

Returns a new instance of Receiver.



9
10
11
12
# File 'lib/spreedly/receiver.rb', line 9

def initialize(xml_doc)
  super
  init_credentials(xml_doc)
end

Instance Attribute Details

#credentialsObject (readonly)

Returns the value of attribute credentials.



7
8
9
# File 'lib/spreedly/receiver.rb', line 7

def credentials
  @credentials
end