Module: Catch
- Defined in:
- lib/catch.rb,
lib/catch/tag.rb,
lib/catch/note.rb,
lib/catch/user.rb,
lib/catch/media.rb,
lib/catch/place.rb,
lib/catch/client.rb,
lib/catch/search.rb,
lib/catch/comment.rb,
lib/catch/version.rb
Defined Under Namespace
Modules: Comment, Media, Note, Place, Search, Tag, User Classes: Client
Constant Summary collapse
- VERSION =
"0.0.7"
Class Attribute Summary collapse
-
.password ⇒ Object
Returns the value of attribute password.
-
.username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
-
.configure {|username, password| ... } ⇒ Object
Configures default credentials easily.
Class Attribute Details
.password ⇒ Object
Returns the value of attribute password.
9 10 11 |
# File 'lib/catch.rb', line 9 def password @password end |
.username ⇒ Object
Returns the value of attribute username.
8 9 10 |
# File 'lib/catch.rb', line 8 def username @username end |
Class Method Details
.configure {|username, password| ... } ⇒ Object
Configures default credentials easily
13 14 15 16 |
# File 'lib/catch.rb', line 13 def configure yield self true end |