class Skroutz::Default
Constants
- API_ENDPOINT
- APPLICATION_PERMISSIONS
- AUTHORIZATION_CODE_ENDPOINT
- MEDIA_TYPE
- OAUTH_ENDPOINT
- PAGINATION_PAGE_SIZE
- REQUEST_TIMEOUT
- TOKEN_ENDPOINT
- USER_AGENT
Public Class Methods
to_hash()
click to toggle source
# File lib/skroutz/default.rb, line 13 def to_hash constants.reduce({}) do |h, const| h[const.downcase] = const_get(const) h end end