attendance_client 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/attendance_client/time_slot.rb +24 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d01620f803856e73d42c2abba81a20c59fc03628
|
4
|
+
data.tar.gz: 04b57a154141ff37d32443285658b0cd3529bbfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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:
|
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.
|
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
|