Sha256: 06694aa12ef11ee64828f3366f7e520464308eeed44b73211cbf35f1f98f1003

Contents?: true

Size: 527 Bytes

Versions: 2

Compression:

Stored size: 527 Bytes

Contents

module Telegraph
  module Types
    class Account < Base
      attribute :short_name, String
      attribute :author_name, String
      attribute :author_url, String
      attribute :access_token, String
      attribute :auth_url, String
      attribute :page_count, Integer

      SHORT_NAME = 'short_name'
      AUTHOR_NAME = 'author_name'
      AUTHOR_URL = 'author_url'
      AUTH_URL = 'auth_url'
      PAGE_COUNT = 'page_count'

      FIELDS = [SHORT_NAME, AUTHOR_NAME, AUTHOR_URL, AUTH_URL, PAGE_COUNT]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegraph_api-0.1.1 lib/telegraph/types/account.rb
telegraph_api-0.1.0 lib/telegraph/types/account.rb