Module: Flareshow

Defined in:
lib/flareshow.rb,
lib/exceptions.rb,
lib/searchable.rb

Overview

Application Constants and configuration

Defined Under Namespace

Modules: Searchable Classes: APIAccessException, AuthenticationFailed, AuthenticationRequired, Cache, CacheManager, ConfigurationException, MissingRequiredField, Resource, Service, Util

Constant Summary collapse

ResourceToClassMap =

mappings to allow easy conversion from the response keys the server sends back in JSUP messages

{
  "flows"       => "Flow",
  "posts"       => "Post",
  "comments"    => "Comment",
  "files"       => "FileAttachment",
  "memberships" => "Membership",
  "invitations" => "Invitation",
  "users"       => "User"
}
ClassToResourceMap =
ResourceToClassMap.invert