Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Commit 0b58be3

Browse files
Erik AhrendErik Ahrend
authored andcommitted
updating tv ruby
1 parent f600827 commit 0b58be3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/thingiverse.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
require 'thingiverse/tags'
1717

1818
module Thingiverse
19-
VERSION = '0.0.8'
19+
VERSION = '0.0.9'
2020
end

lib/thingiverse/connection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def initialize(client_id = nil, client_secret = nil, code = nil)
1010
@code = code
1111

1212
self.class.base_uri(self.base_url)
13+
self.class.headers "X-MakerBot-Whitelist" => "staging"
1314

1415
self.get_token if @client_id and @client_secret and @code
1516
end

0 commit comments

Comments
 (0)