Module: SocialNet::Byte::Config

Included in:
SocialNet::Byte
Defined in:
lib/social_net/byte/config.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject



10
11
12
# File 'lib/social_net/byte/config.rb', line 10

def configuration
  @configuration ||= Api::Configuration.new
end

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

Yields:



6
7
8
# File 'lib/social_net/byte/config.rb', line 6

def configure
  yield configuration if block_given?
end