Class: Oksky::Chat::Object::UnsupportResource

Inherits:
Base
  • Object
show all
Defined in:
lib/oksky/chat/object/unsupport_resource.rb

Instance Method Summary collapse

Methods inherited from Base

#[], #initialize

Constructor Details

This class inherits a constructor from Oksky::Chat::Object::Base

Instance Method Details

#contentObject



5
6
7
8
9
10
11
# File 'lib/oksky/chat/object/unsupport_resource.rb', line 5

def content
  if @src.has_key?('attributes')
    @src['attributes']
  else
    @src
  end
end