Module: Alman
- Defined in:
- lib/alman.rb,
lib/alman/version.rb,
lib/alman/apibits/util.rb,
lib/alman/apibits/api_list.rb,
lib/alman/errors/api_error.rb,
lib/alman/apibits/requester.rb,
lib/alman/resources/booking.rb,
lib/alman/resources/vacancy.rb,
lib/alman/apibits/api_client.rb,
lib/alman/apibits/api_method.rb,
lib/alman/apibits/api_object.rb,
lib/alman/errors/alman_error.rb,
lib/alman/resources/calendar.rb,
lib/alman/apibits/api_endpoint.rb,
lib/alman/apibits/api_resource.rb,
lib/alman/apibits/path_builder.rb,
lib/alman/apibits/params_builder.rb,
lib/alman/clients/default_client.rb,
lib/alman/apibits/headers_builder.rb,
lib/alman/endpoints/bookings_endpoint.rb,
lib/alman/errors/api_connection_error.rb,
lib/alman/errors/authentication_error.rb,
lib/alman/endpoints/calendars_endpoint.rb,
lib/alman/endpoints/vacancies_endpoint.rb,
lib/alman/endpoints/vacancy_bookings_endpoint.rb,
lib/alman/endpoints/calendar_vacancies_endpoint.rb
Defined Under Namespace
Modules: HeadersBuilder, ParamsBuilder, PathBuilder, Requester, Util Classes: AlmanError, ApiClient, ApiConnectionError, ApiEndpoint, ApiError, ApiList, ApiMethod, ApiObject, ApiResource, AuthenticationError, Booking, BookingsEndpoint, Calendar, CalendarVacanciesEndpoint, CalendarsEndpoint, DefaultClient, VacanciesEndpoint, Vacancy, VacancyBookingsEndpoint
Constant Summary collapse
- VERSION =
File.open(File.("../../../VERSION", __FILE__)).read()
Class Attribute Summary collapse
-
.api_base ⇒ Object
Returns the value of attribute api_base.
-
.api_key ⇒ Object
Returns the value of attribute api_key.
-
.api_staging ⇒ Object
readonly
Returns the value of attribute api_staging.
-
.api_version ⇒ Object
Returns the value of attribute api_version.
-
.docs_url ⇒ Object
readonly
Returns the value of attribute docs_url.
-
.support_email ⇒ Object
readonly
Returns the value of attribute support_email.
Class Method Summary collapse
Class Attribute Details
.api_base ⇒ Object
Returns the value of attribute api_base.
60 61 62 |
# File 'lib/alman.rb', line 60 def api_base @api_base end |
.api_key ⇒ Object
Returns the value of attribute api_key.
62 63 64 |
# File 'lib/alman.rb', line 62 def api_key @api_key end |
.api_staging ⇒ Object (readonly)
Returns the value of attribute api_staging.
61 62 63 |
# File 'lib/alman.rb', line 61 def api_staging @api_staging end |
.api_version ⇒ Object
Returns the value of attribute api_version.
60 61 62 |
# File 'lib/alman.rb', line 60 def api_version @api_version end |
.docs_url ⇒ Object (readonly)
Returns the value of attribute docs_url.
61 62 63 |
# File 'lib/alman.rb', line 61 def docs_url @docs_url end |
.support_email ⇒ Object (readonly)
Returns the value of attribute support_email.
61 62 63 |
# File 'lib/alman.rb', line 61 def support_email @support_email end |
Class Method Details
.default_client ⇒ Object
65 66 67 |
# File 'lib/alman.rb', line 65 def self.default_client DefaultClient.new(Alman.api_key) end |