Class: Fuck::That

Inherits:
Object
  • Object
show all
Includes:
Salutations
Defined in:
lib/fuck/that.rb

Instance Method Summary collapse

Methods included from Salutations

#call, included

Constructor Details

#initialize(options = {}) ⇒ That

Returns a new instance of That.

Examples:

Fuck::That.new(from: "Me").call
  => #<PayDirt::Result:0x8ba0858 @data={
        "message"=>"Fuck that.",
        "subtitle"=>"- Me"
      }, @success=true>

Parameters:

  • options (Hash) (defaults to: {})

    options to send FOaaS

Options Hash (options):

  • :from (String)


13
14
15
16
17
18
19
# File 'lib/fuck/that.rb', line 13

def initialize(options = {})
  options = {
    resource: "that",
  }.merge(options)

  load_options(:resource, :from, options)
end