class Prodigi::QuoteResource
Public Instance Methods
create(**attributes)
click to toggle source
# File lib/prodigi/resources/quotes.rb, line 4 def create(**attributes) response = post_request("quotes", body: attributes) if response.body.dig("outcome") == "Created" Quote.new response.body end end