Sha256: a3d0cd3eb29e93b85b33c627a88e660857e3684b31bd1d46679144b50d80bdeb

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

class CityGrid
  class API
    class Accounts
      class Account < Accounts
        extend CityGrid::API::Mutatable
        extend 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

1 entries across 1 versions & 1 rubygems

Version Path
citygrid_api-0.0.6 lib/citygrid/api/accounts/account.rb