billimatic-client 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmRhYzVmNmZjNTJlMWMzNzI5YTIyZDhhZGI1MmY4OWM3ODA4NmI4YQ==
4
+ ZTBjYjdiN2U3YTk0OTFjZDdkMjE3NmUwZWM1MGE0MzFjNjc3MWI3MA==
5
5
  data.tar.gz: !binary |-
6
- OWJhN2NjZGZkYjJhNzRlOGU4NTU5ZDAwZTRlMjY3ZThkNDczYzBjMA==
6
+ ODNjNmU2NjAwZjkzMmY2OTkyODJkNzQzY2U3MzY0NzRjY2UwODllZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzU5NzNkMjM1NDQ5Y2MwNzk1ZThkNmIzZWU1ZGM4YWYyOGJjNmI1MmZlZWZk
10
- MjNjY2QyYzgxZjYzM2U5NTM2ZGNlNGFkMTA0ZWY3NGExMzE4OTkwMDQ0MTg2
11
- NTJlNzk3MjMxZTc2YjM1ZGQyZmU5OWQ3MTlhZjM2YTE4OGEwNWE=
9
+ MjJiMzAyMDlmNDExOGRiNDNhYmZmZTFlNjEyNjNmNDQxOTlkNWNhOGM5ZGUz
10
+ MzUzNTkwZGVhNzdkNWU1YzdjNGFlOWRkOTU2NDk3NGQ5OWNlOWQ1NjNkYTU5
11
+ ZjE2NWViY2MxM2QwMTc3YWRlMWU0Zjg5YTgzNmI4NjA5NjUzZDg=
12
12
  data.tar.gz: !binary |-
13
- NmQ0NDRjODAxZjQxMGQyNWEwMjE2Nzk5NTFlMDdjNzg4NWU0YzMyODhjYTky
14
- N2Y4NzBjNTNkYmYyMTc3MWQ1ZDljZTMxZWFiOGVjZTAwOTlhN2NmMDZjZjg5
15
- ZWIwNTQ4MDc3NTc4OWI3YTkwZjhiNGI5OTZiY2E4N2ZlYzljN2M=
13
+ MmI4NDg4NzhlMzg5Yjg4YmFlNmQwMjY5NDI1M2NkYzdmOGFjMTA2Yzc4MjM2
14
+ MTc5Mjc1NTY1YzM3NmFkNjlhNTY0ZGYxZDgwZTEyMDY5OWVmMDhlOGMzN2Q3
15
+ NDAwM2M3ZmNlM2M0YzhlZWZhOTI0NjljMDI0MmEzYTkzYjY5YzU=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- billimatic-client (0.1.0)
4
+ billimatic-client (0.1.2)
5
5
  multi_json (~> 1.11.2)
6
6
  typhoeus (~> 1.0.1)
7
7
  virtus (~> 1.0.5)
@@ -117,4 +117,4 @@ DEPENDENCIES
117
117
  vcr (~> 3.0)
118
118
 
119
119
  BUNDLED WITH
120
- 1.11.2
120
+ 1.12.5
@@ -10,7 +10,7 @@ module Billimatic
10
10
  attribute :has_trial, Boolean
11
11
  attribute :trial_period, Integer
12
12
  attribute :redirect_url, String
13
- attribute :features, Array
13
+ attribute :features, Array[PlanFeature]
14
14
  attribute :emites_service_values_id, Integer
15
15
  attribute :cobrato_billet_charge_config_id, Integer
16
16
  attribute :finance_category, String
@@ -0,0 +1,10 @@
1
+ module Billimatic
2
+ module Entities
3
+ class PlanFeature < Base
4
+ attribute :id, Integer
5
+ attribute :description, String
6
+ attribute :value, String
7
+ attribute :tag, String
8
+ end
9
+ end
10
+ end
@@ -1,3 +1,3 @@
1
1
  module Billimatic
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
data/lib/billimatic.rb CHANGED
@@ -11,6 +11,7 @@ require 'billimatic/signature'
11
11
  require 'billimatic/entities/base'
12
12
  require 'billimatic/entities/entity_service_item'
13
13
  require 'billimatic/entities/product'
14
+ require 'billimatic/entities/plan_feature'
14
15
  require 'billimatic/entities/plan'
15
16
  require 'billimatic/entities/address_information'
16
17
  require 'billimatic/entities/customer'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billimatic-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Tassinari de Oliveira
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-05-06 00:00:00.000000000 Z
12
+ date: 2016-06-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus
@@ -227,6 +227,7 @@ files:
227
227
  - lib/billimatic/entities/invoice.rb
228
228
  - lib/billimatic/entities/invoice_rule.rb
229
229
  - lib/billimatic/entities/plan.rb
230
+ - lib/billimatic/entities/plan_feature.rb
230
231
  - lib/billimatic/entities/product.rb
231
232
  - lib/billimatic/entities/subscription.rb
232
233
  - lib/billimatic/entities/webhook.rb