Module: SkypeCheck

Defined in:
lib/skype_check/config.rb,
lib/skype_check/version.rb,
lib/skype_check/username.rb,
lib/skype_check/query_error.rb,
lib/skype_check/http_service.rb,
lib/skype_check/username_validation_error.rb

Defined Under Namespace

Modules: HTTPService Classes: Configuration, QueryError, Username, UsernameValidationError

Constant Summary collapse

VERSION =
"0.0.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



3
4
5
# File 'lib/skype_check/config.rb', line 3

def configuration
  @configuration
end

Class Method Details

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

Yields:



9
10
11
12
13
# File 'lib/skype_check/config.rb', line 9

def configure
  @configuration = Configuration.new
  yield(configuration) if block_given?
  @configuration
end