Method: BlackStack::Workmesh::Protocol#to_hash

Defined in:
lib/workmesh.rb

#to_hashObject



122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'lib/workmesh.rb', line 122

def to_hash()
  ret = super()
  ret[:name] = self.name
  ret[:entity_table] = self.entity_table
  ret[:entity_field_id] = self.entity_field_id
  ret[:entity_field_sort] = self.entity_field_sort
  ret[:push_function] = self.push_function
  ret[:entity_field_push_time] = self.entity_field_push_time
  ret[:entity_field_push_success] = self.entity_field_push_success
  ret[:entity_field_push_error_description] = self.entity_field_push_error_description
  ret[:pull_function] = self.pull_function
  #ret[:enttity_field_pull_time] = self.enttity_field_pull_time
  #ret[:entity_field_pull_success] = self.entity_field_pull_success
  #ret[:entity_field_pull_error_description] = self.entity_field_pull_error_description
  ret
end