Sha256: 45ab9c6ce603fb44903fc07e5aff63fe290fba72ddcde7854570f90ec5d12ddc

Contents?: true

Size: 538 Bytes

Versions: 24

Compression:

Stored size: 538 Bytes

Contents

class Caren::Client < Caren::Base
    
  def self.keys
    [ :external_id,     # String (Your client id)
      :uid,             # String (Customer unique code)
      :first_name,      # String
      :last_name,       # String
      :male,            # Boolean
      :date_of_birth,   # Date
      :address_street,  # String
      :address_zipcode, # String
      :address_city,    # String
      :address_country  # String
    ] + super
  end
    
  def self.array_root
    :clients
  end
  
  def self.node_root
    :client
  end
  
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
caren-api-0.4.30 lib/caren/client.rb
caren-api-0.4.29 lib/caren/client.rb
caren-api-0.4.28 lib/caren/client.rb
caren-api-0.4.27 lib/caren/client.rb
caren-api-0.4.26 lib/caren/client.rb
caren-api-0.4.25 lib/caren/client.rb
caren-api-0.4.24 lib/caren/client.rb
caren-api-0.4.23 lib/caren/client.rb
caren-api-0.4.22 lib/caren/client.rb
caren-api-0.4.21 lib/caren/client.rb
caren-api-0.4.20 lib/caren/client.rb
caren-api-0.4.19 lib/caren/client.rb
caren-api-0.4.18 lib/caren/client.rb
caren-api-0.4.17 lib/caren/client.rb
caren-api-0.4.16 lib/caren/client.rb
caren-api-0.4.15 lib/caren/client.rb
caren-api-0.4.14 lib/caren/client.rb
caren-api-0.4.13 lib/caren/client.rb
caren-api-0.4.12 lib/caren/client.rb
caren-api-0.4.11 lib/caren/client.rb