Module: TopsConnect

Defined in:
lib/tops_connect/base.rb,
lib/tops_connect.rb,
lib/tops_connect/owner.rb,
lib/tops_connect/client.rb,
lib/tops_connect/errors.rb,
lib/tops_connect/owners.rb,
lib/tops_connect/address.rb,
lib/tops_connect/version.rb,
lib/tops_connect/property.rb,
lib/tops_connect/community.rb,
lib/tops_connect/properties.rb,
lib/tops_connect/communities.rb,
lib/tops_connect/configuration.rb

Overview

Copyright © 2019 Valencia Management Group All rights reserved.

Defined Under Namespace

Modules: Communities, Owners, Properties Classes: Address, ApiError, Base, Client, ClientError, Community, Configuration, InternalError, NotFoundError, Owner, Property, TimeoutError

Constant Summary collapse

VERSION =
'0.7.2'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



31
32
33
34
35
36
37
# File 'lib/tops_connect.rb', line 31

def configure
  self.configuration ||= Configuration.new

  yield(configuration) if block_given?

  configuration
end