Class: Fuck::Outside

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

Instance Method Summary collapse

Methods included from Salutations

#call, included

Constructor Details

#initialize(options = {}) ⇒ Outside

Returns a new instance of Outside.

Examples:

Fuck::Off.new(name: "You", from: "Me").call
  => #<PayDirt::Result:0x8a544f4 @data= {
        "message"=>"You, why don't you go outside and play hide-and-go-fuck-yourself?",
        "subtitle"=>"- Me"
      }, @success=true>

Parameters:

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

    options to send FOaaS

Options Hash (options):

  • :name (String)
  • :from (String)


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

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

  load_options(:resource, :name, :from, options)
end