Method: Megam::Invoices.from_hash
- Defined in:
- lib/megam/core/invoices.rb
.from_hash(o, tmp_email = nil, tmp_api_key = nil, tmp_host = nil) ⇒ Object
177 178 179 180 181 |
# File 'lib/megam/core/invoices.rb', line 177 def self.from_hash(o,tmp_email=nil, tmp_api_key=nil, tmp_host=nil) bal = self.new(tmp_email, tmp_api_key, tmp_host) bal.from_hash(o) bal end |