Class: Fuck::Pink

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

Instance Method Summary collapse

Methods included from Salutations

#call, included

Constructor Details

#initialize(options = {}) ⇒ Pink

Returns a new instance of Pink.

Examples:

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

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

  load_options(:resource, :from, options)
end