decommas 0.0.1
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.
- checksums.yaml +7 -0
- data/lib/decommas.rb +25 -0
- metadata +57 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a4e249274a9bc7cdb02982d278d31cd66e5ba6dc3a3f54210cd8b9291346a4a4
|
|
4
|
+
data.tar.gz: ae79e5304e2b264021b45116fa989ad61c74527cb207674d94fae09fc5ae3208
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 00fa84a733dcf4c376d4c9e20c345c3921f6f475cff0b8b964923cf1ee702a69eebd5a2683fc40c27f9b181da7897bf4c4361202a3803505e8859beff613196f
|
|
7
|
+
data.tar.gz: 66e36ff7e57071750b3b53e59052feea51730207800135ecd42bba6e7daf8632ea49b1e38d5bbd5e8494e9224cec3884111a810d5917c21fbc0c9d328054612a
|
data/lib/decommas.rb
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
require 'decommas/api'
|
|
2
|
+
require 'decommas/configuration'
|
|
3
|
+
require 'decommas/errors'
|
|
4
|
+
require 'decommas/response'
|
|
5
|
+
|
|
6
|
+
module Decommas
|
|
7
|
+
class << self
|
|
8
|
+
# Instantiate the Configuration singleton
|
|
9
|
+
# or return it. Remember that the instance
|
|
10
|
+
# has attribute readers so that we can access
|
|
11
|
+
# the configured values
|
|
12
|
+
def configuration
|
|
13
|
+
@configuration ||= Configuration.new
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# This is the configure block definition.
|
|
17
|
+
# The configuration method will return the
|
|
18
|
+
# Configuration singleton, which is then yielded
|
|
19
|
+
# to the configure block. Then it's just a matter
|
|
20
|
+
# of using the attribute accessors we previously defined
|
|
21
|
+
def configure
|
|
22
|
+
yield(configuration)
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: decommas
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Ivan Takarlikov
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2023-10-25 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: httparty
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
27
|
+
description: Developer friendly API for Decommas API written on Ruby
|
|
28
|
+
email: vtakarlikov@gmail.com
|
|
29
|
+
executables: []
|
|
30
|
+
extensions: []
|
|
31
|
+
extra_rdoc_files: []
|
|
32
|
+
files:
|
|
33
|
+
- lib/decommas.rb
|
|
34
|
+
homepage: https://rubygems.org/gems/decommas
|
|
35
|
+
licenses:
|
|
36
|
+
- MIT
|
|
37
|
+
metadata: {}
|
|
38
|
+
post_install_message:
|
|
39
|
+
rdoc_options: []
|
|
40
|
+
require_paths:
|
|
41
|
+
- lib
|
|
42
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0'
|
|
47
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
48
|
+
requirements:
|
|
49
|
+
- - ">="
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: '0'
|
|
52
|
+
requirements: []
|
|
53
|
+
rubygems_version: 3.3.7
|
|
54
|
+
signing_key:
|
|
55
|
+
specification_version: 4
|
|
56
|
+
summary: Ruby SDK for Decommas API
|
|
57
|
+
test_files: []
|