Class: Fuck::Shakespeare

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

Instance Method Summary collapse

Methods included from Salutations

#call, included

Constructor Details

#initialize(options = {}) ⇒ Shakespeare

Returns a new instance of Shakespeare.

Examples:

Fuck::Shakespeare.new(name: "You", from: "Me").call

Parameters:

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

    options to send FOaaS

Options Hash (options):

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


10
11
12
13
14
15
16
# File 'lib/fuck/shakespeare.rb', line 10

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

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