class Reverb::Api::Listing
Attributes
client[R]
Public Class Methods
new(listing_attributes:, client:)
click to toggle source
Calls superclass method
# File lib/reverb/api/listing.rb, line 6 def initialize(listing_attributes:, client:) @client = client super(listing_attributes) end
Public Instance Methods
update(attributes)
click to toggle source
# File lib/reverb/api/listing.rb, line 11 def update(attributes) client.put(_links.self.href, attributes) end