attendance_client 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9908eb2d6b49e6eec59a9cfb4fd8979c40ad0e60
4
- data.tar.gz: 5547ae4bfe365599da1359a7a36783c06d380660
3
+ metadata.gz: d01620f803856e73d42c2abba81a20c59fc03628
4
+ data.tar.gz: 04b57a154141ff37d32443285658b0cd3529bbfd
5
5
  SHA512:
6
- metadata.gz: fb08325393890b9e54f045d1e46bb5e5ad4fdc9afd98ed693608092b7b639620cebd722cbe7fd4ca3581d77068d11629082e62aa3055c01ea47fa025161017bb
7
- data.tar.gz: 51d009d52e7056e3740dadbeca914609852b8d3c69c0a3da7ecee0fc8c17ff2a45027e6a0cbb8e839e8cf76a48391395c3d58c4ee216ca31e12cab8fe4a7ddd5
6
+ metadata.gz: faa64821fa5ae94dec9b6456d623f60579546819d52513e70fd205947c15d65d0e1f5aa28f444df1d6f3b72f19ac4f363193652f0fc8dedd4d437312b2f29f07
7
+ data.tar.gz: f18f9ee225a792d74bf3b93e4a6331daa91dc6ad92d2b4aa14ddaa73cf91778dc8d0286f9d1caeec1090ee1020d1394d20015fb820deb9ddc2f5b2acf29126e5
@@ -0,0 +1,24 @@
1
+ require 'attendance_client/service_configuration'
2
+
3
+ module AttendanceClient
4
+ class TimeSlot < LogicalModel
5
+
6
+ include AttendanceClient::ServiceConfiguration
7
+
8
+ set_resource_url HOST, '/api/v0/time_slots'
9
+
10
+ attribute :id
11
+ attribute :name
12
+ attribute :description
13
+ attribute :start_at
14
+ attribute :end_at
15
+ attribute :schedule
16
+ attribute :account_name
17
+ attribute :teacher
18
+
19
+ def json_root
20
+ 'time_slot'
21
+ end
22
+
23
+ end
24
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attendance_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-29 00:00:00.000000000 Z
11
+ date: 2016-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -45,6 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - app/models/attendance_client/time_slot.rb
48
49
  - app/models/attendance_client/trial_lesson.rb
49
50
  - config/initializers/attendance_client.rb
50
51
  - lib/attendance_client.rb
@@ -69,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
70
  version: '0'
70
71
  requirements: []
71
72
  rubyforge_project:
72
- rubygems_version: 2.4.6
73
+ rubygems_version: 2.5.1
73
74
  signing_key:
74
75
  specification_version: 4
75
76
  summary: Client library for PADMA's attendance-ws