Sha256: a8e1216b7dea6bb67d887378e8c4368d46406a8a324a46ca04412abc72252d73

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 Bytes

Contents

# NOT USED
#
# Class ExistsResponse represents server response on +exists+ Posting API
# request. Server response is sent to +from_hash+ method which creates object
# with attribute +success+ accessible via getter:
#
#  response = ExistsResponse.from_hash("success" => "true")
#  response.success       # => true
#
class ExistsResponse
  attr_accessor :exists, :postKey, :error

  def self.from_array(json)
    json
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
threetaps-client-1.0.2 lib/dto/posting/exists_response.rb
threetaps-client-1.0.1 lib/dto/posting/exists_response.rb
threetaps-client-1.0.0 lib/dto/posting/exists_response.rb
threetaps-client-0.5.1 lib/dto/posting/exists_response.rb