horoshop 0.0.0

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 (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/horoshop.rb +16 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 852f57c5e330fc8c5eb939d8495632438ce00761c78726820051b04b4cfc4939
4
+ data.tar.gz: a57e7f6502224da243e0b16c37a35b4620cc582f2f7ff6de41979d4bb3f27589
5
+ SHA512:
6
+ metadata.gz: c52d091ee145024bd8da9bdba86a0cb0b79fd6c2b61aec23b140431e32ec9a46101c9711b102fbda495b6afc0d328032405e671587c59387cf46446295145f22
7
+ data.tar.gz: c8b3670334ecb8781a83785c9038ecd169c16f1974f32cd9bdd663d85757a962935917cab7b31129252079f32c827ce9964e075ac6a05b113799a8187d822bf9
data/lib/horoshop.rb ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Base class used to store data about authentication
4
+ class Horoshop
5
+ def initialize(url:, username:, password:)
6
+ @url = url
7
+ @username = username
8
+ @password = password
9
+ @token = nil
10
+ @expiration_timestamp = nil
11
+ end
12
+
13
+ private
14
+
15
+ attr_reader :url, :username, :password, :token, :expiration_timestamp
16
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: horoshop
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Denys Krupenov
8
+ - Illiya Bordun
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2024-02-14 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Gem for exchangedata with the internet shop constructor
15
+ email: dkru84@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/horoshop.rb
21
+ homepage: https://github.com/dkru/horoshop
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.6.1
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubygems_version: 3.0.1
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Horoshop API interface
44
+ test_files: []