Module: TopsConnect

Defined in:
lib/tops_connect.rb,
lib/tops_connect/base.rb,
lib/tops_connect/owner.rb,
lib/tops_connect/client.rb,
lib/tops_connect/errors.rb,
lib/tops_connect/owners.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

Defined Under Namespace

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

Constant Summary collapse

VERSION =
'0.6.3'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



27
28
29
30
31
32
33
# File 'lib/tops_connect.rb', line 27

def configure
  self.configuration ||= Configuration.new

  yield(configuration) if block_given?

  configuration
end