costagent 0.2.1 → 0.2.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/costagent.rb +4 -0
  2. metadata +3 -3
data/lib/costagent.rb CHANGED
@@ -21,6 +21,10 @@ class CostAgent
21
21
  end
22
22
  @data[key] || @data[key.to_sym]
23
23
  end
24
+
25
+ def id
26
+ @data["id"] || @data[:id]
27
+ end
24
28
  end
25
29
 
26
30
  # Our FA data types
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Elliott Draper
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-13 00:00:00 +01:00
17
+ date: 2010-10-14 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency