Method: Megam::Subscriptions.from_hash
- Defined in:
- lib/megam/core/subscriptions.rb
.from_hash(o, tmp_email = nil, tmp_api_key = nil) ⇒ Object
145 146 147 148 149 |
# File 'lib/megam/core/subscriptions.rb', line 145 def self.from_hash(o,tmp_email=nil, tmp_api_key=nil) cts = self.new(tmp_email,tmp_api_key) cts.from_hash(o) cts end |