Sha256: 3aca2c30ec3d4cb631db1bfa2e9247fe2922e794e586a3ef35e781ea78d4490e

Contents?: true

Size: 350 Bytes

Versions: 16

Compression:

Stored size: 350 Bytes

Contents

# Class UpdateResponse represents server response on +update+ Posting API
# request. Server response is sent to +from_hash+ method which creates object
# with attribute +success+ accessible via getter:
#
#  response = UpdateResponse.from_hash("success" => "true")
#  response.success       # => true
#
class UpdateResponse < Struct.new(:success)
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
threetaps-client-1.0.14 lib/dto/posting/update_response.rb
threetaps-client-1.0.13 lib/dto/posting/update_response.rb
threetaps-client-1.0.12 lib/dto/posting/update_response.rb
threetaps-client-1.0.11 lib/dto/posting/update_response.rb
threetaps-client-1.0.10 lib/dto/posting/update_response.rb
threetaps-client-1.0.9 lib/dto/posting/update_response.rb
threetaps-client-1.0.8 lib/dto/posting/update_response.rb
threetaps-client-1.0.7 lib/dto/posting/update_response.rb
threetaps-client-1.0.6 lib/dto/posting/update_response.rb
threetaps-client-1.0.5 lib/dto/posting/update_response.rb
threetaps-client-1.0.4 lib/dto/posting/update_response.rb
threetaps-client-1.0.3 lib/dto/posting/update_response.rb
threetaps-client-1.0.2 lib/dto/posting/update_response.rb
threetaps-client-1.0.1 lib/dto/posting/update_response.rb
threetaps-client-1.0.0 lib/dto/posting/update_response.rb
threetaps-client-0.5.1 lib/dto/posting/update_response.rb