Class: Fuck::Everything

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

Instance Method Summary collapse

Methods included from Salutations

#call, included

Constructor Details

#initialize(options = {}) ⇒ Everything

Returns a new instance of Everything.

Examples:

Fuck::Everything.new(from: "Me").call
  => #<PayDirt::Result:0x908b32c @data= {
        "message"=>"Fuck everything.",
        "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/everything.rb', line 13

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

  load_options(:resource, :from, options)
end