helix 0.0.2.1.pre → 0.0.2.2.pre

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 (2) hide show
  1. data/lib/helix/base.rb +2 -2
  2. metadata +2 -2
data/lib/helix/base.rb CHANGED
@@ -24,8 +24,8 @@ module Helix
24
24
  # @param [Hash] attributes a hash containing the attributes used in the create
25
25
  # @return [Base] An instance of Helix::Base
26
26
  def self.create(attributes={})
27
- url = config.build_url(media_type: plural_media_type,
28
- format: :xml)
27
+ url = config.build_url(media_type: plural_media_type,
28
+ content_type: :xml)
29
29
  response = RestClient.post(url, attributes.merge(signature: config.signature(:update)))
30
30
  attrs = Hash.from_xml(response)
31
31
  self.new(attributes: attrs[media_type_sym.to_s], config: config)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1.pre
4
+ version: 0.0.2.2.pre
5
5
  prerelease: 8
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-17 00:00:00.000000000 Z
12
+ date: 2013-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json