class FastSpring::Customer

Attributes

company[RW]
email[RW]
first_name[RW]
last_name[RW]
phone_number[RW]

Public Class Methods

new(details) click to toggle source
# File lib/fastspring-saasy/customer.rb, line 5
def initialize(details)
  @first_name = details.fetch('firstName', '')
  @last_name = details.fetch('lastName', '') 
  @company = details.fetch('company', '') 
  @email = details.fetch('email')
  @phone_number = details.fetch('phoneNumber', '')
end