Module: ResoTransport
- Defined in:
- lib/reso_transport.rb,
lib/reso_transport/enum.rb,
lib/reso_transport/query.rb,
lib/reso_transport/client.rb,
lib/reso_transport/errors.rb,
lib/reso_transport/schema.rb,
lib/reso_transport/version.rb,
lib/reso_transport/metadata.rb,
lib/reso_transport/property.rb,
lib/reso_transport/resource.rb,
lib/reso_transport/datasystem.rb,
lib/reso_transport/entity_set.rb,
lib/reso_transport/entity_type.rb,
lib/reso_transport/base_metadata.rb,
lib/reso_transport/configuration.rb,
lib/reso_transport/metadata_cache.rb,
lib/reso_transport/metadata_parser.rb,
lib/reso_transport/datasystem_parser.rb,
lib/reso_transport/authentication/access.rb,
lib/reso_transport/authentication/middleware.rb,
lib/reso_transport/authentication/auth_strategy.rb,
lib/reso_transport/authentication/fetch_token_auth.rb,
lib/reso_transport/authentication/static_token_auth.rb
Defined Under Namespace
Modules: Authentication
Classes: AccessDenied, BaseMetadata, Client, Configuration, Datasystem, DatasystemParser, EncodeError, EntitySet, EntityType, Enum, LocalizationRequired, Member, Metadata, MetadataCache, MetadataParser, NoResponse, Property, Query, RequestError, Resource, ResourceError, ResponseError, Schema
Constant Summary
collapse
- ODATA_TIME_FORMAT =
'%Y-%m-%dT%H:%M:%SZ'.freeze
- VERSION =
'1.5.13'.freeze
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
35
36
37
|
# File 'lib/reso_transport.rb', line 35
def self.configuration
@configuration ||= Configuration.new
end
|
Class Method Details
39
40
41
|
# File 'lib/reso_transport.rb', line 39
def self.configure
yield(configuration)
end
|
.split_schema_and_class_name(text) ⇒ Object
43
44
45
|
# File 'lib/reso_transport.rb', line 43
def self.split_schema_and_class_name(text)
text.to_s.partition(/(\w+)$/).first(2).map { |s| s.sub(/\.$/, '') }
end
|