Module: Infrataster::Helpers::ResourceHelper
- Includes:
- RSpec::Matchers
- Defined in:
- lib/infrataster/helpers/resource_helper.rb
Instance Method Summary collapse
- #capybara(*args) ⇒ Object
- #http(*args) ⇒ Object
- #mysql_query(*args) ⇒ Object
- #server(*args) ⇒ Object
Instance Method Details
#capybara(*args) ⇒ Object
23 24 25 |
# File 'lib/infrataster/helpers/resource_helper.rb', line 23 def (*args) Resources::CapybaraResource.new(*args) end |
#http(*args) ⇒ Object
15 16 17 |
# File 'lib/infrataster/helpers/resource_helper.rb', line 15 def http(*args) Resources::HttpResource.new(*args) end |
#mysql_query(*args) ⇒ Object
19 20 21 |
# File 'lib/infrataster/helpers/resource_helper.rb', line 19 def mysql_query(*args) Resources::MysqlQueryResource.new(*args) end |
#server(*args) ⇒ Object
11 12 13 |
# File 'lib/infrataster/helpers/resource_helper.rb', line 11 def server(*args) Resources::ServerResource.new(*args) end |