Sha256: 34fe4266e2e48370592b9b30ed4bbccbb4cc6d66e4a4ecfdc5884ca55d6f4812

Contents?: true

Size: 527 Bytes

Versions: 64

Compression:

Stored size: 527 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

64 entries across 64 versions & 1 rubygems

Version Path
caren-api-0.12.5 lib/caren/client.rb
caren-api-0.12.4 lib/caren/client.rb
caren-api-0.12.3 lib/caren/client.rb
caren-api-0.12.2 lib/caren/client.rb
caren-api-0.12.1 lib/caren/client.rb
caren-api-0.12.0 lib/caren/client.rb
caren-api-0.11.1 lib/caren/client.rb
caren-api-0.11.0 lib/caren/client.rb
caren-api-0.10.0 lib/caren/client.rb
caren-api-0.9.10 lib/caren/client.rb
caren-api-0.9.9 lib/caren/client.rb
caren-api-0.9.8 lib/caren/client.rb
caren-api-0.9.7 lib/caren/client.rb
caren-api-0.9.6 lib/caren/client.rb
caren-api-0.9.4 lib/caren/client.rb
caren-api-0.9.3 lib/caren/client.rb
caren-api-0.9.2 lib/caren/client.rb
caren-api-0.9.1 lib/caren/client.rb
caren-api-0.9.0 lib/caren/client.rb
caren-api-0.8.0 lib/caren/client.rb