Class: Zenps::Payload

Inherits:
Object
  • Object
show all
Defined in:
lib/zenps/payload.rb

Overview

Class for structuring subjects into array of hashes from:

- (array of) string(s)
- (array of) hash(es)
- (array of) object(s)

Instance Method Summary collapse

Instance Method Details

#get(subjects) ⇒ Object



7
8
9
10
# File 'lib/zenps/payload.rb', line 7

def get(subjects)
  @subjects = subjects
  payload
end