Class: StrawberryAPI::Proxy

Inherits:
Object
  • Object
show all
Defined in:
lib/strawberry_api/proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#animationObject

Returns the value of attribute animation



17
18
19
# File 'lib/strawberry_api/proxy.rb', line 17

def animation
  @animation
end

#animation_extObject

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_idObject

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_atObject

Returns the value of attribute created_at



8
9
10
# File 'lib/strawberry_api/proxy.rb', line 8

def created_at
  @created_at
end

#idObject

Returns the value of attribute id



5
6
7
# File 'lib/strawberry_api/proxy.rb', line 5

def id
  @id
end

#in_progressObject

Returns the value of attribute in_progress



10
11
12
# File 'lib/strawberry_api/proxy.rb', line 10

def in_progress
  @in_progress
end

#pathObject

Returns the value of attribute path



7
8
9
# File 'lib/strawberry_api/proxy.rb', line 7

def path
  @path
end

#previewObject

Returns the value of attribute preview



18
19
20
# File 'lib/strawberry_api/proxy.rb', line 18

def preview
  @preview
end

#preview_extObject

Returns the value of attribute preview_ext



11
12
13
# File 'lib/strawberry_api/proxy.rb', line 11

def preview_ext
  @preview_ext
end

#streamObject

Returns the value of attribute stream



19
20
21
# File 'lib/strawberry_api/proxy.rb', line 19

def stream
  @stream
end

#structure_versionObject

Returns the value of attribute structure_version



14
15
16
# File 'lib/strawberry_api/proxy.rb', line 14

def structure_version
  @structure_version
end

#thumbnailObject

Returns the value of attribute thumbnail



16
17
18
# File 'lib/strawberry_api/proxy.rb', line 16

def thumbnail
  @thumbnail
end

#thumbnail_extObject

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_atObject

Returns the value of attribute updated_at



9
10
11
# File 'lib/strawberry_api/proxy.rb', line 9

def updated_at
  @updated_at
end

#videoObject

Returns the value of attribute video



15
16
17
# File 'lib/strawberry_api/proxy.rb', line 15

def video
  @video
end