Class: Spree::Amazon::Asset

Inherits:
Base
  • Object
show all
Defined in:
app/models/spree/amazon/asset.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#attributes=, #to_param

Constructor Details

#initialize(_url) ⇒ Asset

Returns a new instance of Asset



10
11
12
# File 'app/models/spree/amazon/asset.rb', line 10

def initialize(_url)
  @url = _url
end

Instance Attribute Details

#url(style = :product) ⇒ Object

Returns the value of attribute url



4
5
6
# File 'app/models/spree/amazon/asset.rb', line 4

def url
  @url
end