Class: Cardia::Customer

Inherits:
Object show all
Defined in:
lib/cardia/customer.rb

Overview

A very basic Customer, you probably want to roll your own

Instance Method Summary collapse

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

#tokenObject

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