Sha256: c8319ed8b9c71972784414432effd3f622a53383ec1cb93de9d2b7b179d30485

Contents?: true

Size: 622 Bytes

Versions: 21

Compression:

Stored size: 622 Bytes

Contents

class CityGrid
  class API
    class Accounts
      class Account < Accounts
        include CityGrid::API::Mutable
        include CityGrid::API::Searchable
        
        # Adds new customer account to existing user
        # http://docs.prod.cs/display/citygridv2/Internal+-+Account#Internal-Account-AddNewCustomerAccounttoExistingUser
        define_action :import_to_cg, :post, "customer/mutate", :auth_token => true, :format => false

        # http://docs-dev.prod.cs/display/citygridv2/Internal+-+Account+Type
        define_action :account_type, :get, "get/type", :auth_token => true
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
citygrid_api-0.0.28 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.27 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.26 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.25 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.24 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.23 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.22 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.21 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.20 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.19 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.18 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.17 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.16 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.15 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.14 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.13 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.12 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.11 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.10 lib/citygrid/api/accounts/account.rb
citygrid_api-0.0.9 lib/citygrid/api/accounts/account.rb