Module: Aircana::Contexts::ConfluenceSetup
- Included in:
- Confluence
- Defined in:
- lib/aircana/contexts/confluence_setup.rb
Instance Method Summary collapse
Instance Method Details
#setup_httparty ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/aircana/contexts/confluence_setup.rb', line 6 def setup_httparty config = Aircana.configuration self.class.base_uri config.confluence_base_url self.class.basic_auth config.confluence_username, config.confluence_api_token self.class.headers "Content-Type" => "application/json" end |