Module: Xmlstats::Endpoint::InstanceMethods
- Defined in:
- lib/xmlstats/endpoint.rb
Instance Method Summary collapse
Instance Method Details
#http_get ⇒ Object
13 14 15 |
# File 'lib/xmlstats/endpoint.rb', line 13 def http_get self.class.http_get end |
#initialize(data = {}) ⇒ Object
7 8 9 10 11 |
# File 'lib/xmlstats/endpoint.rb', line 7 def initialize(data = {}) data.each do |key, value| instance_variable_set("@#{key}", value) end end |