dawanda-dawanda_client 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 (2) hide show
  1. data/lib/dawanda/request.rb +1 -5
  2. metadata +1 -1
@@ -8,9 +8,7 @@ module Dawanda
8
8
 
9
9
  # The base URL for API requests
10
10
  def self.base_url
11
- url = "http://#{Dawanda.country}.devanda.com/api/v1"
12
- puts url
13
- url
11
+ url = "http://#{Dawanda.country}.dawanda.com/api/v1"
14
12
  end
15
13
 
16
14
  # Perform a GET request for the resource with optional parameters - returns
@@ -18,9 +16,7 @@ module Dawanda
18
16
  def self.get(resource_path, parameters = {})
19
17
  parameters = {:format => 'json'}.update(parameters)
20
18
  request = Request.new(resource_path, parameters)
21
- puts request.inspect
22
19
  response = Response.new(request.get)
23
- puts response.inspect
24
20
  response
25
21
  end
26
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dawanda-dawanda_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
  - "Christoph B\xC3\xBCnte"