iugu 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/iugu/plan.rb +5 -0
  2. data/lib/iugu/version.rb +1 -1
  3. metadata +1 -1
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Iugu
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iugu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: