Module: Swiftype
- Extended by:
- Configuration
- Defined in:
- lib/swiftype.rb,
lib/swiftype/easy.rb,
lib/swiftype/client.rb,
lib/swiftype/engine.rb,
lib/swiftype/search.rb,
lib/swiftype/request.rb,
lib/swiftype/version.rb,
lib/swiftype/document.rb,
lib/swiftype/base_model.rb,
lib/swiftype/connection.rb,
lib/swiftype/exceptions.rb,
lib/swiftype/configuration.rb,
lib/swiftype/document_type.rb
Defined Under Namespace
Modules: Configuration, Connection, Request, Search Classes: BaseModel, Client, ClientException, Document, DocumentType, Easy, Engine, InvalidCredentials, NonExistentRecord, RecordAlreadyExists, UnexpectedHTTPException
Constant Summary collapse
- VERSION =
"0.0.2"
Constants included from Configuration
Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
- .method_missing(method, *args, &block) ⇒ Object
- .new(options = {}) ⇒ Object
- .respond_to?(method, include_private = false) ⇒ Boolean
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
26 27 28 29 |
# File 'lib/swiftype.rb', line 26 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options = {}) ⇒ Object
22 23 24 |
# File 'lib/swiftype.rb', line 22 def new(={}) Swiftype::Client.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
31 32 33 |
# File 'lib/swiftype.rb', line 31 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |