jeffrafter-resource_party 0.1.1 → 0.1.2

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.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/resource_party.rb +1 -1
  3. metadata +1 -1
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 1
3
+ :patch: 2
4
4
  :major: 0
@@ -18,7 +18,7 @@ module ResourceParty
18
18
 
19
19
  def initialize(params = {}, query = {}, no_defaults = false)
20
20
  return self if no_defaults
21
- response = self.class.get("/#{self.route}/new.xml")
21
+ response = self.class.get("/#{self.class.route}/new.xml")
22
22
  raise ServerError.new(response.body) if response.code != "200"
23
23
  hash = Hash.from_xml(response.body).values.first
24
24
  hash.merge! params
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeffrafter-resource_party
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
  - Jeff Rafter