Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions anvil.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |s|
s.name = 'appsec_flow_anvil'
s.version = '0.0.8'
s.date = '2017-11-19'
s.version = '0.0.9'
s.date = '2020-05-27'
s.summary = 'AppSec Flow REST API Client'
s.description = 'Ruby wrapper for the REST API for Conviso Armature'
s.authors = ['Anezio Campos']
Expand Down
2 changes: 2 additions & 0 deletions lib/anvil/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def vulnerability_templates

def load_base_url_for(environment)
case environment
when 'on_premise'
@base_url = 'https://localhost'
when 'localhost'
@base_url = 'http://localhost:3000'
when 'production'
Expand Down