Sha256: 36278e038a619173b76bee2c14e4055a56187716ec00c37780d445887d6de976

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

module Foureyes
  class Account < Resource
    QUERY = CLIENT.parse <<-GraphQL
      query($api_key: String!, $id: [ID!]) {
        viewer(apiKey: $api_key){
          Accounts(options:{statusFilter:[ACTIVE], ids: $id}){
            edges{
              node{
                id
                account_name
                dealer_code
                created
                updated_at
              }
            }
          }
        }
      }
    GraphQL
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foureyes-0.1.0 lib/foureyes/account.rb