Module: Net::Twitter::Config

Included in:
Net::Twitter
Defined in:
lib/net/twitter/config.rb

Instance Method Summary collapse

Instance Method Details

#configurationObject



10
11
12
# File 'lib/net/twitter/config.rb', line 10

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

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

Yields:



6
7
8
# File 'lib/net/twitter/config.rb', line 6

def configure
  yield configuration if block_given?
end