Sha256: c1519621309ee88d3fec2447af89eb07d98d4a9e06a0efe19e3554fb493163bd
Contents?: true
Size: 762 Bytes
Versions: 1
Compression:
Stored size: 762 Bytes
Contents
#!/usr/bin/env ruby require "bundler/setup" require "majestic_seo_api" require "yaml" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. # (If you use this, don't forget to add pry to your Gemfile!) # require "pry" # Pry.start cfg_path = File.join(File.dirname(__FILE__), "../spec/support/majestic_seo.yml") if File.exists?(cfg_path) yaml = YAML.load_file(cfg_path)["development"] MajesticSeoApi.configure do |config| config.environment = yaml.fetch("environment", :sandbox) config.api_key = yaml.fetch("api_key", nil) config.verbose = true end end require "irb" IRB.start(__FILE__)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
majestic_seo_api-1.4.0 | bin/console |