-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
789 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
require "pay_dirt" | ||
require "open-uri" | ||
require "json" | ||
require "foaas/f_o" | ||
require "foaas/version" | ||
require 'pay_dirt' | ||
require 'open-uri' | ||
require 'json' | ||
|
||
require_relative 'foaas/version' | ||
require_relative 'foaas/f_o' | ||
|
||
require_relative 'salutations' | ||
require_relative 'foaas/thanks' | ||
require_relative 'foaas/thing' | ||
require_relative 'foaas/chainsaw' | ||
require_relative 'foaas/life' | ||
require_relative 'foaas/pink' | ||
require_relative 'foaas/king' | ||
require_relative 'foaas/linus' | ||
require_relative 'foaas/shakespeare' | ||
require_relative 'foaas/donut' | ||
require_relative 'foaas/everyone' | ||
require_relative 'foaas/everything' | ||
require_relative 'foaas/that' | ||
require_relative 'foaas/this' | ||
require_relative 'foaas/you' | ||
require_relative 'foaas/off' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Chainsaw < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "chainsaw", | ||
}.merge(options) | ||
|
||
load_options(:resource, :name, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Donut < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "donut", | ||
}.merge(options) | ||
|
||
load_options(:resource, :name, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Everyone < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "everyone", | ||
}.merge(options) | ||
|
||
load_options(:resource, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Everything < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "everything", | ||
}.merge(options) | ||
|
||
load_options(:resource, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module Foaas | ||
module FOaaS | ||
class FO < PayDirt::Base | ||
def initialize(options = {}) | ||
options = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class King < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "king", | ||
}.merge(options) | ||
|
||
load_options(:resource, :name, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Life < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "life", | ||
}.merge(options) | ||
|
||
load_options(:resource, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Linus < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "linus", | ||
}.merge(options) | ||
|
||
load_options(:resource, :name, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Off < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "off", | ||
}.merge(options) | ||
|
||
load_options(:resource, :name, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Pink < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "pink", | ||
}.merge(options) | ||
|
||
load_options(:resource, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Shakespeare < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "shakespeare", | ||
}.merge(options) | ||
|
||
load_options(:resource, :name, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Thanks < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "thanks", | ||
}.merge(options) | ||
|
||
load_options(:resource, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class That < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "that", | ||
}.merge(options) | ||
|
||
load_options(:resource, :from, options) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require 'pay_dirt' | ||
|
||
module FOaaS | ||
class Thing < PayDirt::Base | ||
include Salutations | ||
|
||
def initialize(options = {}) | ||
options = { | ||
resource: "thing", | ||
}.merge(options) | ||
|
||
load_options(:resource, :from, options) | ||
end | ||
end | ||
end |
Oops, something went wrong.