enum Postmany::Domain::TransferMethod

Defined in:

postmany/domain/transfer_method.cr

Enum Members

GET = 0
POST = 1
PUT = 2

Class Method Summary

Instance Method Summary

Class Method Detail

def self.from_string(raw : String) : self | Nil #

[View source]

Instance Method Detail

def get? #

Returns true if this enum value equals GET


[View source]
def post? #

Returns true if this enum value equals POST


[View source]
def put? #

Returns true if this enum value equals PUT


[View source]
def upload? : Bool #

[View source]