Module: Wrest

Defined in:
lib/wrest.rb,
lib/wrest/uri.rb,
lib/wrest/http.rb,
lib/wrest/version.rb,
lib/wrest/resource.rb,
lib/wrest/components.rb,
lib/wrest/exceptions.rb,
lib/wrest/uri_template.rb,
lib/wrest/http/response.rb,
lib/wrest/resource/state.rb,
lib/wrest/components/mutators.rb,
lib/wrest/components/translators.rb,
lib/wrest/components/mutators/base.rb,
lib/wrest/core_ext/hash/conversions.rb,
lib/wrest/components/translators/xml.rb,
lib/wrest/components/translators/json.rb,
lib/wrest/core_ext/string/conversions.rb,
lib/wrest/components/attributes_container.rb,
lib/wrest/components/translators/content_types.rb,
lib/wrest/components/mutators/camel_to_snake_case.rb,
lib/wrest/components/mutators/xml_mini_type_caster.rb,
lib/wrest/components/attributes_container/typecaster.rb,
lib/wrest/components/mutators/xml_simple_type_caster.rb,
lib/wrest/exceptions/method_not_overridden_exception.rb,
lib/wrest/exceptions/unsupported_content_type_exception.rb

Overview

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defined Under Namespace

Modules: Components, CoreExt, Exceptions, Http, Resource, VERSION Classes: Uri, UriTemplate

Class Method Summary collapse

Class Method Details

.loggerObject



29
30
31
# File 'lib/wrest.rb', line 29

def self.logger
  @logger
end

.logger=(logger) ⇒ Object



25
26
27
# File 'lib/wrest.rb', line 25

def self.logger=(logger)
  @logger = logger
end