Module: MoloniApi::Constants
- Included in:
- API
- Defined in:
- lib/moloni_api/constants.rb
Overview
Constants
Constant Summary collapse
- API_ENDPOINT =
API Defaults
'https://api.moloni.pt/sandbox/'
- API_CLIENT_ID =
'apigem'
- API_CLIENT_SECRET =
'c9c9f4274658da2ad78b55a452894942898b5614'
- RATELIMIT_REMAINING =
Response headers
'X-RateLimit-Remaining'
- RATELIMIT_LIMIT =
'X-RateLimit-Limit'
- RATELIMIT_RESET =
'X-RateLimit-Reset'
- CONTENT_TYPE =
'Content-Type'
- CONTENT_LENGTH =
'content-length'
- CACHE_CONTROL =
'cache-control'
- ETAG =
'ETag'
- SERVER =
'Server'
- DATE =
'Date'
- LOCATION =
'Location'
- USER_AGENT =
'User-Agent'
- ACCEPT =
'Accept'
- ACCEPT_CHARSET =
'Accept-Charset'
- OAUTH_SCOPES =
'X-OAuth-Scopes'
- ACCEPTED_OAUTH_SCOPES =
'X-Accepted-Oauth-Scopes'
- HEADER_LINK =
Link headers
'Link'
- HEADER_NEXT =
'X-Next'
- HEADER_LAST =
'X-Last'
- META_REL =
'rel'
- META_LAST =
'last'
- META_NEXT =
'next'
- META_FIRST =
'first'
- META_PREV =
'prev'
- PARAM_PAGE =
'page'
- PARAM_PER_PAGE =
'per_page'
- PARAM_START_PAGE =
'start_page'
- PARAM_INCLUDE_RELATED =
'include_related_objects'