Class: EasyPost::Event
- Inherits:
-
Resource
- Object
- EasyPostObject
- Resource
- EasyPost::Event
- Defined in:
- lib/easypost/event.rb
Instance Attribute Summary
Attributes inherited from EasyPostObject
#api_key, #name, #parent, #unsaved_values
Class Method Summary collapse
Methods inherited from Resource
all, class_name, create, #delete, #refresh, retrieve, #save, url, #url
Methods inherited from EasyPostObject
#[], #[]=, #as_json, construct_from, #each, #id, #id=, #initialize, #inspect, #keys, #refresh_from, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from EasyPost::EasyPostObject
Class Method Details
.receive(values) ⇒ Object
6 7 8 |
# File 'lib/easypost/event.rb', line 6 def self.receive(values) return EasyPost::Util::convert_to_easypost_object(JSON.parse(values), nil) end |