urbanesia 0.0.1 → 0.0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/urbanesia.rb +6 -3
  2. metadata +1 -1
data/lib/urbanesia.rb CHANGED
@@ -1,14 +1,17 @@
1
- require 'urbanesia/agent'
1
+ # require 'urbanesia/agent'
2
2
 
3
- class Urbanesia
3
+ module Urbanesia
4
4
 
5
+ mattr_accessor :consumer_key
6
+ mattr_accessor :consumer_secret
7
+ mattr_accessor :base_url
5
8
 
6
9
  # Outputs either the key or the secret depending on the input
7
10
  #
8
11
  # @param [Symbol] input variable to be printed, ':key' or any other value
9
12
  # @return [String] The printed variable
10
13
  def self.hi(input = :key)
11
- agent = Agent.new("key", "secret")
14
+ agent = Agent.new(@@consumer_key, @@consumer_secret, @@base_url)
12
15
  p agent.hi(input)
13
16
  end
14
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanesia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: