Method: Bugly::BuglyObject.construct_from
- Defined in:
- lib/bugly.rb
.construct_from(values, api_key = nil) ⇒ Object
180 181 182 183 184 |
# File 'lib/bugly.rb', line 180 def self.construct_from(values, api_key=nil) obj = self.new(values[:id], api_key) obj.refresh_from(values, api_key) obj end |