iugu 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,8 +18,6 @@ require_relative "iugu/invoice"
18
18
  require_relative "iugu/subscription"
19
19
  require_relative "iugu/charge"
20
20
  require_relative "iugu/plan"
21
- require_relative "iugu/plan_price"
22
- require_relative "iugu/plan_feature"
23
21
 
24
22
  module Iugu
25
23
  class AuthenticationException < StandardError
@@ -4,13 +4,5 @@ module Iugu
4
4
  include Iugu::APICreate
5
5
  include Iugu::APISave
6
6
  include Iugu::APIDelete
7
-
8
- def prices
9
- APIChildResource.new({ plan_id: self.id }, Iugu::PlanPrice)
10
- end
11
-
12
- def features
13
- APIChildResource.new({ plan_id: self.id }, Iugu::PlanFeature)
14
- end
15
7
  end
16
8
  end
@@ -1,3 +1,3 @@
1
1
  module Iugu
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
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.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -89,8 +89,6 @@ files:
89
89
  - lib/iugu/payment_method.rb
90
90
  - lib/iugu/payment_token.rb
91
91
  - lib/iugu/plan.rb
92
- - lib/iugu/plan_feature.rb
93
- - lib/iugu/plan_price.rb
94
92
  - lib/iugu/search_result.rb
95
93
  - lib/iugu/subscription.rb
96
94
  - lib/iugu/utils.rb
@@ -1,8 +0,0 @@
1
- module Iugu
2
- class PlanFeature < APIResource
3
- include Iugu::APIFetch
4
- include Iugu::APICreate
5
- include Iugu::APISave
6
- include Iugu::APIDelete
7
- end
8
- end
@@ -1,8 +0,0 @@
1
- module Iugu
2
- class PlanPrice < APIResource
3
- include Iugu::APIFetch
4
- include Iugu::APICreate
5
- include Iugu::APISave
6
- include Iugu::APIDelete
7
- end
8
- end