Module: Tickspot
- Defined in:
- lib/tickspot.rb,
lib/tickspot/client.rb,
lib/tickspot/version.rb
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERSION =
"0.1.2"
Class Attribute Summary collapse
-
.company ⇒ Object
Returns the value of attribute company.
-
.email ⇒ Object
Returns the value of attribute email.
-
.password ⇒ Object
Returns the value of attribute password.
Class Method Summary collapse
-
.configure {|_self| ... } ⇒ Object
config/initializers/tickspot.rb (for instance).
Class Attribute Details
.company ⇒ Object
Returns the value of attribute company.
4 5 6 |
# File 'lib/tickspot.rb', line 4 def company @company end |
.email ⇒ Object
Returns the value of attribute email.
4 5 6 |
# File 'lib/tickspot.rb', line 4 def email @email end |
.password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/tickspot.rb', line 4 def password @password end |
Class Method Details
.configure {|_self| ... } ⇒ Object
config/initializers/tickspot.rb (for instance)
Tickspot.configure do |config|
config.company = 'acme'
config.email = '[email protected]'
config.password = 'secret'
end
elsewhere
client = Tickspot::Client.new
17 18 19 20 |
# File 'lib/tickspot.rb', line 17 def configure yield self true end |