Class: Fuck::Everyone

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

Instance Method Summary collapse

Methods included from Salutations

#call, included

Constructor Details

#initialize(options = {}) ⇒ Everyone

Returns a new instance of Everyone.

Examples:

Fuck::Everyone.new(from: "Me").call
  => #<PayDirt::Result:0x90b53fc @data= {
        "message"=>"Everyone can go and fuck off.",
        "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/everyone.rb', line 13

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

  load_options(:resource, :from, options)
end