Class: Flo::Provider::Developer
- Inherits:
-
Base
- Object
- Base
- Flo::Provider::Developer
show all
- Defined in:
- lib/flo/provider/developer.rb
Instance Attribute Summary
Attributes inherited from Base
#cred_store
Instance Method Summary
collapse
Methods inherited from Base
#initialize, option, option_keys
Instance Method Details
#has_option(opts = {}) ⇒ Object
25
26
27
|
# File 'lib/flo/provider/developer.rb', line 25
def has_option(opts={})
Flo::Provider::Response.new(options.include?(opts[:option]))
end
|
#is_successful(opts = {}) ⇒ Object
16
17
18
19
|
# File 'lib/flo/provider/developer.rb', line 16
def is_successful(opts={})
success = opts[:success].nil? ? true : opts[:success]
Flo::Provider::Response.new(success)
end
|
#return_true ⇒ Object
21
22
23
|
# File 'lib/flo/provider/developer.rb', line 21
def return_true
true
end
|