Skip to content

Commit 1c59236

Browse files
Merge pull request #55 from mxenabled/openapi-generator-0.8.6
Generated version 0.8.6
2 parents 1b43fea + 461ffe3 commit 1c59236

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ MxPlatformRuby.configure do |config|
4747
config.server_index = 1
4848
end
4949

50-
api_instance = MxPlatformRuby::MxPlatformApi.new
50+
api_client = ::MxPlatformRuby::ApiClient.new
51+
api_client.default_headers['Accept'] = 'application/vnd.mx.api.v1+json'
52+
mx_platform_api = ::MxPlatformRuby::MxPlatformApi.new(api_client)
53+
5154
user_create_request_body = MxPlatformRuby::UserCreateRequestBody.new(
5255
user: MxPlatformRuby::UserCreateRequest.new(
5356
metadata: "Creating a user!"

lib/mx-platform-ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module MxPlatformRuby
14-
VERSION = '0.8.5'
14+
VERSION = '0.8.6'
1515
end

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
66
gemLicense: MIT
77
gemName: mx-platform-ruby
88
gemRequiredRubyVersion: ">= 2.6"
9-
gemVersion: 0.8.5
9+
gemVersion: 0.8.6
1010
library: faraday
1111
moduleName: MxPlatformRuby

0 commit comments

Comments
 (0)