Class: Oscurrency::Models::Exchange

Inherits:
Base
  • Object
show all
Defined in:
lib/oscurrency/models/exchange.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Exchange

Returns a new instance of Exchange.



14
15
16
# File 'lib/oscurrency/models/exchange.rb', line 14

def initialize(options)
  super(options)
end

Class Method Details

.siteObject

self.site = “#Oscurrency::Models::Exchange.selfself.site/people/:person_id/”



8
9
10
# File 'lib/oscurrency/models/exchange.rb', line 8

def self.site
  create_site_uri_from(@site.to_s + "/people/:person_id/")
end