class Giftrocket::User

Attributes

email[RW]
name[RW]

Public Class Methods

new(attributes) click to toggle source
# File lib/giftrocket/user.rb, line 6
def initialize(attributes)
  attributes = attributes.with_indifferent_access
  self.name = attributes[:name]
  self.email = attributes[:email]
end