iugu 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/iugu/plan.rb +5 -0
- data/lib/iugu/version.rb +1 -1
- metadata +1 -1
data/lib/iugu/plan.rb
CHANGED
@@ -4,5 +4,10 @@ module Iugu
|
|
4
4
|
include Iugu::APICreate
|
5
5
|
include Iugu::APISave
|
6
6
|
include Iugu::APIDelete
|
7
|
+
|
8
|
+
def self.fetch_by_identifier(identifier)
|
9
|
+
Iugu::Factory.create_from_response(object_type, APIRequest.request("GET", "#{url}/identifier/#{identifier}"))
|
10
|
+
end
|
7
11
|
end
|
12
|
+
|
8
13
|
end
|
data/lib/iugu/version.rb
CHANGED