syed-subtain 1.2.356 → 1.2.366

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68e057cedcfee91a32635ff6fc2ba9096d7ea305a630b1556ed77b33fbffbd3d
4
- data.tar.gz: 7bdf6ec479db5666d50c44bc3f208601c20fc4a27161a42c7923810543d106c7
3
+ metadata.gz: 6e15799886f9a08af9607ef1f020847f0437f2fe337dcf4bd96f65c40fc429ce
4
+ data.tar.gz: 3217b76329452736885fc09011235c9225014348dbcd4c88561a50ab3b57482b
5
5
  SHA512:
6
- metadata.gz: b4bd0f78a1145b0b319e3abe318222b2d82959500a93ac009d671facc154cc9bbf495e1d26ea620271b2b5d3cb5041b48e859e562675e34eb97efc767c75bed6
7
- data.tar.gz: a45c72e1253850481f0fd4e4bfa4354a54b68a9eb4a2b023c24b5878ddc9f27d0790682ad8218645b0d7123cbd7b6c99bf433a29de42146541108dff491da5d8
6
+ metadata.gz: f841743996ea3fb3c4ac33cf617945afb904c264f5c2c9487e9827f8a15cfdee4579e27eedcf9d3195eaca6b0494c6e310f79830688f40d6c9598691517479e9
7
+ data.tar.gz: c627525e28bbc4080e154c6e7eaf86127ee5687bf2d1a18f169ed352524565ad8562fe2eedb487959c9b7d37fad933450522cb38e12797483a953f850f34d7a5
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # Getting Started with APIMATIC CALCULATOR
2
+ # Getting Started with Apimatic Calculator
3
3
 
4
4
  ## Introduction
5
5
 
@@ -10,20 +10,20 @@ Simple calculator API hosted on APIMATIC
10
10
  Install the gem from the command line:
11
11
 
12
12
  ```ruby
13
- gem install syed-subtain -v 1.2.356
13
+ gem install syed-subtain -v 1.2.366
14
14
  ```
15
15
 
16
16
  Or add the gem to your Gemfile and run `bundle`:
17
17
 
18
18
  ```ruby
19
- gem 'syed-subtain', '1.2.356'
19
+ gem 'syed-subtain', '1.2.366'
20
20
  ```
21
21
 
22
- For additional gem details, see the [RubyGems page for the syed-subtain gem](https://rubygems.org/gems/syed-subtain/versions/1.2.356).
22
+ For additional gem details, see the [RubyGems page for the syed-subtain gem](https://rubygems.org/gems/syed-subtain/versions/1.2.366).
23
23
 
24
24
  ## Initialize the API Client
25
25
 
26
- **_Note:_** Documentation for the client can be found [here.](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.356/doc/client.md)
26
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.366/doc/client.md)
27
27
 
28
28
  The following parameters are configurable for the API Client:
29
29
 
@@ -43,18 +43,18 @@ The following parameters are configurable for the API Client:
43
43
  The API client can be initialized as follows:
44
44
 
45
45
  ```ruby
46
- client = Apimaticcalculator::Client.new(
46
+ client = ApimaticCalculator::Client.new(
47
47
  environment: Environment::PRODUCTION
48
48
  )
49
49
  ```
50
50
 
51
51
  ## List of APIs
52
52
 
53
- * [Simple Calculator](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.356/doc/controllers/simple-calculator.md)
53
+ * [Simple Calculator](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.366/doc/controllers/simple-calculator.md)
54
54
 
55
55
  ## Classes Documentation
56
56
 
57
- * [Utility Classes](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.356/doc/utility-classes.md)
58
- * [HttpResponse](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.356/doc/http-response.md)
59
- * [HttpRequest](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.356/doc/http-request.md)
57
+ * [Utility Classes](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.366/doc/utility-classes.md)
58
+ * [HttpResponse](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.366/doc/http-response.md)
59
+ * [HttpRequest](https://www.github.com/Syed-Subtain/new-ruby-repo/tree/1.2.366/doc/http-request.md)
60
60
 
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # API utility class
8
8
  class APIHelper < CoreLibrary::ApiHelper
9
9
  end
@@ -1,10 +1,10 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
7
- # apimaticcalculator client class.
6
+ module ApimaticCalculator
7
+ # apimatic_calculator client class.
8
8
  class Client
9
9
  include CoreLibrary
10
10
  attr_reader :config
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # An enum for SDK environments.
8
8
  class Environment
9
9
  # PRODUCTION: This environment connect to the LIVE calculator API
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # BaseController.
8
8
  class BaseController
9
9
  include CoreLibrary
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # SimpleCalculatorController
8
8
  class SimpleCalculatorController < BaseController
9
9
  # Calculates the expression using the specified operation.
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # Class for exceptions when there is a network error, status code error, etc.
8
8
  class APIException < CoreLibrary::ApiException
9
9
  end
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # HttpCallBack allows defining callables for pre and post API calls.
8
8
  class HttpCallBack < CoreLibrary::HttpCallback
9
9
  end
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # HTTP Methods Enumeration.
8
8
  class HttpMethodEnum < CoreLibrary::HttpMethod
9
9
  end
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # Represents a single Http Request.
8
8
  class HttpRequest < CoreLibrary::HttpRequest
9
9
  end
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # Http response received.
8
8
  class HttpResponse < CoreLibrary::HttpResponse
9
9
  end
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # Base model.
8
8
  class BaseModel < CoreLibrary::BaseModel
9
9
  # Returns a Hash representation of the current object.
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # Possible operators are sum, subtract, multiply, divide
8
8
  class OperationTypeEnum
9
9
  OPERATION_TYPE_ENUM = [
@@ -1,10 +1,10 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
6
  require 'date'
7
- module Apimaticcalculator
7
+ module ApimaticCalculator
8
8
  # A utility that supports dateTime conversion to different formats
9
9
  class DateTimeHelper < CoreLibrary::DateTimeHelper
10
10
  end
@@ -1,9 +1,9 @@
1
- # apimaticcalculator
1
+ # apimatic_calculator
2
2
  #
3
3
  # This file was automatically generated by APIMATIC v2.0
4
4
  # ( https://apimatic.io ).
5
5
 
6
- module Apimaticcalculator
6
+ module ApimaticCalculator
7
7
  # A utility to allow users to set the content-type for files
8
8
  class FileWrapper < CoreLibrary::FileWrapper
9
9
  # The constructor.
@@ -0,0 +1,39 @@
1
+ # apimatic_calculator
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ require 'date'
7
+ require 'json'
8
+
9
+ require 'apimatic_core_interfaces'
10
+ require 'apimatic_core'
11
+ require 'apimatic_faraday_client_adapter'
12
+
13
+ require_relative 'apimatic_calculator/api_helper'
14
+ require_relative 'apimatic_calculator/client'
15
+
16
+ # Utilities
17
+ require_relative 'apimatic_calculator/utilities/file_wrapper'
18
+ require_relative 'apimatic_calculator/utilities/date_time_helper'
19
+
20
+ # Http
21
+ require_relative 'apimatic_calculator/http/http_call_back'
22
+ require_relative 'apimatic_calculator/http/http_method_enum'
23
+ require_relative 'apimatic_calculator/http/http_request'
24
+ require_relative 'apimatic_calculator/http/http_response'
25
+
26
+ # Logger
27
+
28
+ # Models
29
+ require_relative 'apimatic_calculator/models/base_model'
30
+ require_relative 'apimatic_calculator/models/operation_type_enum'
31
+
32
+ # Exceptions
33
+ require_relative 'apimatic_calculator/exceptions/api_exception'
34
+
35
+ require_relative 'apimatic_calculator/configuration'
36
+
37
+ # Controllers
38
+ require_relative 'apimatic_calculator/controllers/base_controller'
39
+ require_relative 'apimatic_calculator/controllers/simple_calculator_controller'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syed-subtain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.356
4
+ version: 1.2.366
5
5
  platform: ruby
6
6
  authors:
7
7
  - Syed subtain
@@ -60,21 +60,21 @@ extra_rdoc_files: []
60
60
  files:
61
61
  - LICENSE
62
62
  - README.md
63
- - lib/apimaticcalculator.rb
64
- - lib/apimaticcalculator/api_helper.rb
65
- - lib/apimaticcalculator/client.rb
66
- - lib/apimaticcalculator/configuration.rb
67
- - lib/apimaticcalculator/controllers/base_controller.rb
68
- - lib/apimaticcalculator/controllers/simple_calculator_controller.rb
69
- - lib/apimaticcalculator/exceptions/api_exception.rb
70
- - lib/apimaticcalculator/http/http_call_back.rb
71
- - lib/apimaticcalculator/http/http_method_enum.rb
72
- - lib/apimaticcalculator/http/http_request.rb
73
- - lib/apimaticcalculator/http/http_response.rb
74
- - lib/apimaticcalculator/models/base_model.rb
75
- - lib/apimaticcalculator/models/operation_type_enum.rb
76
- - lib/apimaticcalculator/utilities/date_time_helper.rb
77
- - lib/apimaticcalculator/utilities/file_wrapper.rb
63
+ - lib/apimatic_calculator.rb
64
+ - lib/apimatic_calculator/api_helper.rb
65
+ - lib/apimatic_calculator/client.rb
66
+ - lib/apimatic_calculator/configuration.rb
67
+ - lib/apimatic_calculator/controllers/base_controller.rb
68
+ - lib/apimatic_calculator/controllers/simple_calculator_controller.rb
69
+ - lib/apimatic_calculator/exceptions/api_exception.rb
70
+ - lib/apimatic_calculator/http/http_call_back.rb
71
+ - lib/apimatic_calculator/http/http_method_enum.rb
72
+ - lib/apimatic_calculator/http/http_request.rb
73
+ - lib/apimatic_calculator/http/http_response.rb
74
+ - lib/apimatic_calculator/models/base_model.rb
75
+ - lib/apimatic_calculator/models/operation_type_enum.rb
76
+ - lib/apimatic_calculator/utilities/date_time_helper.rb
77
+ - lib/apimatic_calculator/utilities/file_wrapper.rb
78
78
  homepage: https://apimatic.io
79
79
  licenses:
80
80
  - MIT
@@ -1,39 +0,0 @@
1
- # apimaticcalculator
2
- #
3
- # This file was automatically generated by APIMATIC v2.0
4
- # ( https://apimatic.io ).
5
-
6
- require 'date'
7
- require 'json'
8
-
9
- require 'apimatic_core_interfaces'
10
- require 'apimatic_core'
11
- require 'apimatic_faraday_client_adapter'
12
-
13
- require_relative 'apimaticcalculator/api_helper'
14
- require_relative 'apimaticcalculator/client'
15
-
16
- # Utilities
17
- require_relative 'apimaticcalculator/utilities/file_wrapper'
18
- require_relative 'apimaticcalculator/utilities/date_time_helper'
19
-
20
- # Http
21
- require_relative 'apimaticcalculator/http/http_call_back'
22
- require_relative 'apimaticcalculator/http/http_method_enum'
23
- require_relative 'apimaticcalculator/http/http_request'
24
- require_relative 'apimaticcalculator/http/http_response'
25
-
26
- # Logger
27
-
28
- # Models
29
- require_relative 'apimaticcalculator/models/base_model'
30
- require_relative 'apimaticcalculator/models/operation_type_enum'
31
-
32
- # Exceptions
33
- require_relative 'apimaticcalculator/exceptions/api_exception'
34
-
35
- require_relative 'apimaticcalculator/configuration'
36
-
37
- # Controllers
38
- require_relative 'apimaticcalculator/controllers/base_controller'
39
- require_relative 'apimaticcalculator/controllers/simple_calculator_controller'