Class: Cardia::Customer
Overview
A very basic Customer, you probably want to roll your own
Instance Method Summary collapse
-
#initialize(first_name, last_name) ⇒ Customer
constructor
A new instance of Customer.
-
#token ⇒ Object
You need to generate a unique token identifying your Customer.
Constructor Details
#initialize(first_name, last_name) ⇒ Customer
Returns a new instance of Customer.
5 6 7 |
# File 'lib/cardia/customer.rb', line 5 def initialize(first_name, last_name) @first_name, @last_name = first_name, last_name end |
Instance Method Details
#token ⇒ Object
You need to generate a unique token identifying your Customer
10 11 12 |
# File 'lib/cardia/customer.rb', line 10 def token "867B5C54-B763-4D7C-B180-8766A5505656" end |