Module: Notifo

Defined in:
lib/notifo/version.rb,
lib/notifo.rb,
lib/notifo/api_error.rb,
lib/notifo/api_client.rb,
lib/notifo/models/body.rb,
lib/notifo/api/apps_api.rb,
lib/notifo/api/logs_api.rb,
lib/notifo/api/user_api.rb,
lib/notifo/api/media_api.rb,
lib/notifo/api/users_api.rb,
lib/notifo/configuration.rb,
lib/notifo/api/events_api.rb,
lib/notifo/api/topics_api.rb,
lib/notifo/models/app_dto.rb,
lib/notifo/api/configs_api.rb,
lib/notifo/models/user_dto.rb,
lib/notifo/models/error_dto.rb,
lib/notifo/models/event_dto.rb,
lib/notifo/models/media_dto.rb,
lib/notifo/models/topic_dto.rb,
lib/notifo/api/templates_api.rb,
lib/notifo/models/media_type.rb,
lib/notifo/models/profile_dto.rb,
lib/notifo/models/publish_dto.rb,
lib/notifo/models/resize_mode.rb,
lib/notifo/models/confirm_mode.rb,
lib/notifo/models/template_dto.rb,
lib/notifo/models/log_entry_dto.rb,
lib/notifo/models/localized_text.rb,
lib/notifo/models/media_metadata.rb,
lib/notifo/models/scheduling_dto.rb,
lib/notifo/models/upsert_app_dto.rb,
lib/notifo/models/app_details_dto.rb,
lib/notifo/models/iso_day_of_week.rb,
lib/notifo/models/scheduling_type.rb,
lib/notifo/models/upsert_user_dto.rb,
lib/notifo/models/event_properties.rb,
lib/notifo/models/publish_many_dto.rb,
lib/notifo/models/subscription_dto.rb,
lib/notifo/models/upsert_users_dto.rb,
lib/notifo/models/notification_send.rb,
lib/notifo/models/email_template_dto.rb,
lib/notifo/models/update_profile_dto.rb,
lib/notifo/models/add_contributor_dto.rb,
lib/notifo/models/app_contributor_dto.rb,
lib/notifo/models/email_templates_dto.rb,
lib/notifo/models/upsert_template_dto.rb,
lib/notifo/models/upsert_templates_dto.rb,
lib/notifo/models/add_allowed_topic_dto.rb,
lib/notifo/models/notification_setting_dto.rb,
lib/notifo/models/create_email_template_dto.rb,
lib/notifo/models/email_verification_status.rb,
lib/notifo/models/notification_formatting_dto.rb,
lib/notifo/models/list_response_dto_of_user_dto.rb,
lib/notifo/models/list_response_dto_of_event_dto.rb,
lib/notifo/models/list_response_dto_of_media_dto.rb,
lib/notifo/models/list_response_dto_of_topic_dto.rb,
lib/notifo/models/list_response_dto_of_template_dto.rb,
lib/notifo/models/list_response_dto_of_log_entry_dto.rb,
lib/notifo/models/list_response_dto_of_subscription_dto.rb

Overview

#Notifo API

#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)

OpenAPI spec version: 1.0.0

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 3.0.24

Defined Under Namespace

Classes: AddAllowedTopicDto, AddContributorDto, ApiClient, ApiError, AppContributorDto, AppDetailsDto, AppDto, AppsApi, Body, ConfigsApi, Configuration, ConfirmMode, CreateEmailTemplateDto, EmailTemplateDto, EmailTemplatesDto, EmailVerificationStatus, ErrorDto, EventDto, EventProperties, EventsApi, IsoDayOfWeek, ListResponseDtoOfEventDto, ListResponseDtoOfLogEntryDto, ListResponseDtoOfMediaDto, ListResponseDtoOfSubscriptionDto, ListResponseDtoOfTemplateDto, ListResponseDtoOfTopicDto, ListResponseDtoOfUserDto, LocalizedText, LogEntryDto, LogsApi, MediaApi, MediaDto, MediaMetadata, MediaType, NotificationFormattingDto, NotificationSend, NotificationSettingDto, ProfileDto, PublishDto, PublishManyDto, ResizeMode, SchedulingDto, SchedulingType, SubscriptionDto, TemplateDto, TemplatesApi, TopicDto, TopicsApi, UpdateProfileDto, UpsertAppDto, UpsertTemplateDto, UpsertTemplatesDto, UpsertUserDto, UpsertUsersDto, UserApi, UserDto, UsersApi

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Notifo.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



85
86
87
88
89
90
91
# File 'lib/notifo.rb', line 85

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end