Class: StrawberryAPI::Proxy
- Inherits:
-
Object
- Object
- StrawberryAPI::Proxy
- Defined in:
- lib/strawberry_api/proxy.rb
Instance Attribute Summary collapse
-
#animation ⇒ Object
Returns the value of attribute animation.
-
#animation_ext ⇒ Object
Returns the value of attribute animation_ext.
-
#asset_id ⇒ Object
Returns the value of attribute asset_id.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#in_progress ⇒ Object
Returns the value of attribute in_progress.
-
#path ⇒ Object
Returns the value of attribute path.
-
#preview ⇒ Object
Returns the value of attribute preview.
-
#preview_ext ⇒ Object
Returns the value of attribute preview_ext.
-
#stream ⇒ Object
Returns the value of attribute stream.
-
#structure_version ⇒ Object
Returns the value of attribute structure_version.
-
#thumbnail ⇒ Object
Returns the value of attribute thumbnail.
-
#thumbnail_ext ⇒ Object
Returns the value of attribute thumbnail_ext.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#video ⇒ Object
Returns the value of attribute video.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Proxy
constructor
A new instance of Proxy.
Constructor Details
#initialize(params = {}) ⇒ Proxy
Returns a new instance of Proxy
21 22 23 24 25 |
# File 'lib/strawberry_api/proxy.rb', line 21 def initialize(params = {}) params.each do |k, v| instance_variable_set("@#{k}", v) unless v.nil? end end |
Instance Attribute Details
#animation ⇒ Object
Returns the value of attribute animation
17 18 19 |
# File 'lib/strawberry_api/proxy.rb', line 17 def animation @animation end |
#animation_ext ⇒ Object
Returns the value of attribute animation_ext
13 14 15 |
# File 'lib/strawberry_api/proxy.rb', line 13 def animation_ext @animation_ext end |
#asset_id ⇒ Object
Returns the value of attribute asset_id
6 7 8 |
# File 'lib/strawberry_api/proxy.rb', line 6 def asset_id @asset_id end |
#created_at ⇒ Object
Returns the value of attribute created_at
8 9 10 |
# File 'lib/strawberry_api/proxy.rb', line 8 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id
5 6 7 |
# File 'lib/strawberry_api/proxy.rb', line 5 def id @id end |
#in_progress ⇒ Object
Returns the value of attribute in_progress
10 11 12 |
# File 'lib/strawberry_api/proxy.rb', line 10 def in_progress @in_progress end |
#path ⇒ Object
Returns the value of attribute path
7 8 9 |
# File 'lib/strawberry_api/proxy.rb', line 7 def path @path end |
#preview ⇒ Object
Returns the value of attribute preview
18 19 20 |
# File 'lib/strawberry_api/proxy.rb', line 18 def preview @preview end |
#preview_ext ⇒ Object
Returns the value of attribute preview_ext
11 12 13 |
# File 'lib/strawberry_api/proxy.rb', line 11 def preview_ext @preview_ext end |
#stream ⇒ Object
Returns the value of attribute stream
19 20 21 |
# File 'lib/strawberry_api/proxy.rb', line 19 def stream @stream end |
#structure_version ⇒ Object
Returns the value of attribute structure_version
14 15 16 |
# File 'lib/strawberry_api/proxy.rb', line 14 def structure_version @structure_version end |
#thumbnail ⇒ Object
Returns the value of attribute thumbnail
16 17 18 |
# File 'lib/strawberry_api/proxy.rb', line 16 def thumbnail @thumbnail end |
#thumbnail_ext ⇒ Object
Returns the value of attribute thumbnail_ext
12 13 14 |
# File 'lib/strawberry_api/proxy.rb', line 12 def thumbnail_ext @thumbnail_ext end |
#updated_at ⇒ Object
Returns the value of attribute updated_at
9 10 11 |
# File 'lib/strawberry_api/proxy.rb', line 9 def updated_at @updated_at end |
#video ⇒ Object
Returns the value of attribute video
15 16 17 |
# File 'lib/strawberry_api/proxy.rb', line 15 def video @video end |