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
20 21 22 |
# File 'lib/infrataster/helpers/resource_helper.rb', line 20 def (*args) Resources::CapybaraResource.new(*args) end |
#http(*args) ⇒ Object
12 13 14 |
# File 'lib/infrataster/helpers/resource_helper.rb', line 12 def http(*args) Resources::HttpResource.new(*args) end |
#mysql_query(*args) ⇒ Object
16 17 18 |
# File 'lib/infrataster/helpers/resource_helper.rb', line 16 def mysql_query(*args) Resources::MysqlQueryResource.new(*args) end |
#server(*args) ⇒ Object
8 9 10 |
# File 'lib/infrataster/helpers/resource_helper.rb', line 8 def server(*args) Resources::ServerResource.new(*args) end |