Class: Animoto::Resources::Jobs::StoryboardBundling
- Defined in:
- lib/animoto/resources/jobs/storyboard_bundling.rb
Instance Attribute Summary collapse
-
#bundle_url ⇒ String
readonly
The URL to the storyboard resource.
Attributes inherited from Base
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
#completed?, endpoint, #failed?, infer_content_type, infer_endpoint, #pending?
Methods inherited from Base
endpoint, #endpoint, #initialize, #load, load, new, original_new, register
Methods included from Support::StandardEnvelope
Constructor Details
This class inherits a constructor from Animoto::Resources::Base
Instance Attribute Details
#bundle_url ⇒ String (readonly)
The URL to the storyboard resource.
17 18 19 |
# File 'lib/animoto/resources/jobs/storyboard_bundling.rb', line 17 def bundle_url @bundle_url end |
Class Method Details
.unpack_standard_envelope(body) ⇒ Hash{Symbol=>Object}
8 9 10 11 12 13 |
# File 'lib/animoto/resources/jobs/storyboard_bundling.rb', line 8 def self.unpack_standard_envelope body links = unpack_links(body) super.merge({ :bundle_url => links['bundle'] }) end |
Instance Method Details
#instantiate(attributes = {}) ⇒ Jobs::StoryboardBundling
21 22 23 24 |
# File 'lib/animoto/resources/jobs/storyboard_bundling.rb', line 21 def instantiate attributes = {} @bundle_url = attributes[:bundle_url] super end |