Class: Slacktail::Field

Inherits:
Base
  • Object
show all
Defined in:
lib/slacktail/field.rb

Instance Attribute Summary

Attributes inherited from Base

#data

Attributes included from HasClient

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Slacktail::Base

Instance Method Details

#keyObject



3
4
5
# File 'lib/slacktail/field.rb', line 3

def key
  data.title
end

#valueObject



7
8
9
# File 'lib/slacktail/field.rb', line 7

def value
  data.value
end