class Fuck::Donut
Public Class Methods
new(options = {})
click to toggle source
@param [Hash] options options to send FOaaS
@option options [String] :name @option options [String] :from @example
Fuck::Donut.new(name: "You", from: "Me").call => #<PayDirt::Result:0x90f6870 @data= { "message"=>"You, go and take a flying fuck at a rolling donut.", "subtitle"=>"- Me" }, @success=true>
# File lib/fuck/donut.rb, line 14 def initialize(options = {}) options = { resource: "donut", }.merge(options) load_options(:resource, :name, :from, options) end